package com.threeti.mecool.core.domain.model.plan.aspects;

import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import org.springframework.beans.factory.annotation.Configurable;

import com.threeti.mecool.core.domain.model.plan.pojo.GroupStep;
import com.threeti.mecool.core.domain.model.plan.pojo.GroupStepItem;

privileged aspect GroupStep_AJ_Entity {
	declare @type: GroupStep:@Configurable;
	declare @type: GroupStep:@Entity;
	declare @type: GroupStep:@Table(name = "DM_WF_GROUP_STEP");
	
	declare @field: List<GroupStepItem> GroupStep.items:@OneToMany(mappedBy = "groupStep", cascade = CascadeType.ALL, orphanRemoval = true);
}
